﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OPCodeType.cs" company="Rolosoft Ltd">
//   © Rolosoft Ltd
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

#region License

// Copyright 2013 Rolosoft Ltd
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#endregion

namespace Rsft.Net.Dns.Entities
{
    /// <summary>
    ///     The op code type.
    /// </summary>
    public enum OPCodeType
    {
        /// <summary>
        ///     a standard query (QUERY)
        /// </summary>
        Query = 0, 

        /// <summary>
        ///     OpCode Retired (previously IQUERY - No further [RFC3425]
        ///     assignment of this code available)
        /// </summary>
        IQUERY = 1, 

        /// <summary>
        ///     a server status request (STATUS) RFC1035
        /// </summary>
        Status = 2, 

        /// <summary>
        ///     IANA reg
        /// </summary>
        RESERVED3 = 3, 

        /// <summary>
        ///     RFC 1996
        /// </summary>
        Notify = 4, 

        /// <summary>
        ///     RFC 2136
        /// </summary>
        Update = 5, 

        /// <summary>
        ///     The reserve d 6.
        /// </summary>
        RESERVED6 = 6, 

        /// <summary>
        ///     The reserve d 7.
        /// </summary>
        RESERVED7 = 7, 

        /// <summary>
        ///     The reserve d 8.
        /// </summary>
        RESERVED8 = 8, 

        /// <summary>
        ///     The reserve d 9.
        /// </summary>
        RESERVED9 = 9, 

        /// <summary>
        ///     The reserve d 10.
        /// </summary>
        RESERVED10 = 10, 

        /// <summary>
        ///     The reserve d 11.
        /// </summary>
        RESERVED11 = 11, 

        /// <summary>
        ///     The reserve d 12.
        /// </summary>
        RESERVED12 = 12, 

        /// <summary>
        ///     The reserve d 13.
        /// </summary>
        RESERVED13 = 13, 

        /// <summary>
        ///     The reserve d 14.
        /// </summary>
        RESERVED14 = 14, 

        /// <summary>
        ///     The reserve d 15.
        /// </summary>
        RESERVED15 = 15, 
    }
}